<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="/stylesheets/register.css">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>

<body class="bg-secondary bg-gradient">
    <div class="container position-absolute top-50 start-50 translate-middle">
        <div class="row mb-3">
            <div class="col-5"></div>
            <div class="col">
                <span class="fs-1">注册</span>
            </div>
        </div>
        <div class="row">
            <form class="register-form" method="post">
                <div class="form-floating mb-3">
                    <input type="text" class="form-control" id="username floatingInput" name="username"
                        placeholder="用户名">
                    <label for="floatingInput">用户名</label>
                </div>
                <div class="form-floating  mb-3">
                    <input type="password" class="form-control" name="password" id="password floatingPassword"
                        placeholder="密码">
                    <label for="floatingPassword">密码</label>
                </div>
                <div class="form-floating mb-3">
                    <input type="text" class="form-control" name="phonenum" id="phonenum floatingPassword"
                        placeholder="手机号码">
                    <label for="floatingPassword">手机号码</label>
                </div>
                <br>
                <button type="submit" class="btn btn-primary btn-lg" id="login-button"
                    onclick="register()" style="margin-left: 260px;font-family: cursive;font-size: 27px;">立即注册</button>
                <div style="margin-left: 223px;font-family: cursive;font-size: 26px;" class="mt-3 ">已有账户<a href="/login"  class="text-warning">立即登录</a></div>
            </form>
        </div>
    </div>



    <script src="/javascripts/lib/jquery-3.3.1.min.js"></script>
    <script src="/javascripts/lib/jquery.url.js"></script>
    <script src="/javascripts/lib/jquery.url.js"></script>
    <script src="/javascripts/register.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
        integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
    </script>
</body>

</html>